package com.zhu.model.user;

import com.zhu.domain.enums.UserRoleEnum;
import com.zhu.model.BaseVM;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


/**
 * @author JoyBoy
 * @create 2021-12-24 8:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户信息模型")
public class UserResponseVM extends BaseVM {
    @ApiModelProperty(value = "用户id属性说明",hidden = false)
    private Integer userId;
    @ApiModelProperty(value = "用户名属性说明",hidden = false)
    private String userName;
    @ApiModelProperty(value = "用户头像属性说明",hidden = false)
    private String imageUrl;
    @ApiModelProperty(value = "用户真实性名属性说明",hidden = false)
    private String realName;
    @ApiModelProperty(value = "用户密码属性说明",hidden = false)
    private String password;
    @ApiModelProperty(value = "用户身份属性说明",hidden = false)
    private UserRoleEnum role;
    @ApiModelProperty(value = "用户地址属性说明",hidden = false)
    private String address;
    @ApiModelProperty(value = "用户电话属性说明",hidden = false)
    private String phone;
    @ApiModelProperty(value = "用户管理权限属性说明",hidden = false)
    private Boolean isUserManage;

    @ApiModelProperty(value = "商品管理权限属性说明",hidden = false)
    private Boolean isGoodsManage;

    @ApiModelProperty(value = "库存管理权限属性说明",hidden = false)
    private Boolean isInventoryManage;

    @ApiModelProperty(value = "仓库管理权限属性说明",hidden = false)
    private Boolean isWarehouseManage;
}
